import {toast} from "@/utils/common";

export function saveNextStep(type, res, vm) {
    console.log('type', type)
    if (type !== 'pdf') {
        setTimeout(()=>{
            uni.navigateBack();
        },1000)
        toast(res.msg);
    }else{
        vm.erweima = true;
        vm.$nextTick(vm.creatImg);
    }
}
